# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=mkdocs-rtd-dropdown
pkgver=1.0.2
pkgrel=5
pkgdesc="clone of read the docs theme for markdown"
url="https://github.com/cjsheets/mkdocs-rtd-dropdown"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/m/mkdocs-rtd-dropdown/mkdocs-rtd-dropdown-$pkgver.tar.gz"
options="!check" # No tests.

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
1354231909a99dd457a2ff493b84c7ee16b7ac183ff8503a441de56e0c08fa6cc9dc3c38483c79ae1570fe7666ef362784d562ffc63f2c65fe2fd9f9e48fdaf8  mkdocs-rtd-dropdown-1.0.2.tar.gz
"
